<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<script src="../../kq.1.06/kq.1.06.dev.js"></script>
<script src="kq.drag.js"></script>
<style>
.drag{
	width: 120px;
    height: 120px;
    border: 1px solid #d00;
    cursor: all-scroll;
}
.maxbox{
	width: 400px;
    height: 400px;
    border: 1px solid #d00;
}
</style>
</head>

<body>
<div class="drag">我是盒子</div>
<div class="maxbox">我是大盒子</div>
<button onClick="debug();">点我开始测试</button>
<script>
//关于进度条的那点事情，前端上传进度展示
//初始化一个进度条

var drag = new $Q.plugIn.drag({});
drag.bind('.drag');//注册元素列表
drag.sync();//异步处理
</script>
</body>
</html>
